package com.qkl.xiatang.app.entity.feed;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
public class FeedCommonEntity {

    @TableId(type= IdType.ASSIGN_ID)
    private String id;

    private String name;

    private String brand;

    private String image;

    private String companyId;

    private Double stock;

    private Integer type;

    private Double warnValue;

    public boolean typeZoo(){
        return Integer.valueOf(2).equals(type);
    }

}
